﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000793 RID: 1939
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPlatformPlayerInfoScRsp : IMessage<GetPlatformPlayerInfoScRsp>, IMessage, IEquatable<GetPlatformPlayerInfoScRsp>, IDeepCloneable<GetPlatformPlayerInfoScRsp>, IBufferMessage
	{
		// Token: 0x170018C3 RID: 6339
		// (get) Token: 0x06005721 RID: 22305 RVA: 0x000EB5EB File Offset: 0x000E97EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPlatformPlayerInfoScRsp> Parser
		{
			get
			{
				return GetPlatformPlayerInfoScRsp._parser;
			}
		}

		// Token: 0x170018C4 RID: 6340
		// (get) Token: 0x06005722 RID: 22306 RVA: 0x000EB5F2 File Offset: 0x000E97F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPlatformPlayerInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170018C5 RID: 6341
		// (get) Token: 0x06005723 RID: 22307 RVA: 0x000EB604 File Offset: 0x000E9804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPlatformPlayerInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005724 RID: 22308 RVA: 0x000EB60B File Offset: 0x000E980B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoScRsp()
		{
		}

		// Token: 0x06005725 RID: 22309 RVA: 0x000EB61E File Offset: 0x000E981E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoScRsp(GetPlatformPlayerInfoScRsp other) : this()
		{
			this.playerInfoList_ = other.playerInfoList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005726 RID: 22310 RVA: 0x000EB654 File Offset: 0x000E9854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoScRsp Clone()
		{
			return new GetPlatformPlayerInfoScRsp(this);
		}

		// Token: 0x170018C6 RID: 6342
		// (get) Token: 0x06005727 RID: 22311 RVA: 0x000EB65C File Offset: 0x000E985C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PlayerSimpleInfo> PlayerInfoList
		{
			get
			{
				return this.playerInfoList_;
			}
		}

		// Token: 0x170018C7 RID: 6343
		// (get) Token: 0x06005728 RID: 22312 RVA: 0x000EB664 File Offset: 0x000E9864
		// (set) Token: 0x06005729 RID: 22313 RVA: 0x000EB66C File Offset: 0x000E986C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600572A RID: 22314 RVA: 0x000EB675 File Offset: 0x000E9875
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPlatformPlayerInfoScRsp);
		}

		// Token: 0x0600572B RID: 22315 RVA: 0x000EB684 File Offset: 0x000E9884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPlatformPlayerInfoScRsp other)
		{
			return other != null && (other == this || (this.playerInfoList_.Equals(other.playerInfoList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600572C RID: 22316 RVA: 0x000EB6D4 File Offset: 0x000E98D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.playerInfoList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600572D RID: 22317 RVA: 0x000EB721 File Offset: 0x000E9921
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600572E RID: 22318 RVA: 0x000EB729 File Offset: 0x000E9929
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600572F RID: 22319 RVA: 0x000EB734 File Offset: 0x000E9934
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			this.playerInfoList_.WriteTo(ref output, GetPlatformPlayerInfoScRsp._repeated_playerInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005730 RID: 22320 RVA: 0x000EB784 File Offset: 0x000E9984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.playerInfoList_.CalculateSize(GetPlatformPlayerInfoScRsp._repeated_playerInfoList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005731 RID: 22321 RVA: 0x000EB7D8 File Offset: 0x000E99D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPlatformPlayerInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.playerInfoList_.Add(other.playerInfoList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005732 RID: 22322 RVA: 0x000EB825 File Offset: 0x000E9A25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005733 RID: 22323 RVA: 0x000EB830 File Offset: 0x000E9A30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.playerInfoList_.AddEntriesFrom(ref input, GetPlatformPlayerInfoScRsp._repeated_playerInfoList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002209 RID: 8713
		private static readonly MessageParser<GetPlatformPlayerInfoScRsp> _parser = new MessageParser<GetPlatformPlayerInfoScRsp>(() => new GetPlatformPlayerInfoScRsp());

		// Token: 0x0400220A RID: 8714
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400220B RID: 8715
		public const int PlayerInfoListFieldNumber = 13;

		// Token: 0x0400220C RID: 8716
		private static readonly FieldCodec<PlayerSimpleInfo> _repeated_playerInfoList_codec = FieldCodec.ForMessage<PlayerSimpleInfo>(106U, PlayerSimpleInfo.Parser);

		// Token: 0x0400220D RID: 8717
		private readonly RepeatedField<PlayerSimpleInfo> playerInfoList_ = new RepeatedField<PlayerSimpleInfo>();

		// Token: 0x0400220E RID: 8718
		public const int RetcodeFieldNumber = 4;

		// Token: 0x0400220F RID: 8719
		private uint retcode_;
	}
}
